package top.rainbowecho.ai.domain.model.robot.strategy;

import top.rainbowecho.ai.domain.model.robot.value.text.BaiduCheckResult;
import top.rainbowecho.common.domain.shared.vo.SensitiveRecognizeResult;

/**
 * 敏感文本识别策略
 *
 * @author rainbow
 * @since 2019/11/29 15:05
 */
public interface SensitiveTextRecognizeStrategy {
    /**
     * 对百度AI接口的响应结果进行识别
     *
     * @param reply AI接口响应结果
     * @return 识别的结果
     */
    SensitiveRecognizeResult recognize(BaiduCheckResult reply);
}
